package com.sellspringcloud.server.repository;

import com.sellspringcloud.server.dataobject.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends JpaRepository<UserInfo, String> {

    /**
     * 根据openid查询用户
     * @param openId
     * @return
     */
    public UserInfo findUserInfoByOpenid(String openId);
}

